package com.contextor.magiccards.web.to.user;

import com.contextor.magiccards.model.user.User;
import com.contextor.magiccards.web.to.BaseTO;

/**
 * User: sergey
 * Date: Mar 14, 2011 3:48:54 PM
 */
public class UserProfileTO extends BaseTO {
    public String name;

    public UserProfileTO() {
    }

    public UserProfileTO(User user) {
        this.userId = user.getId();
        name = user.getName();
    }
}
